package com.yuncheng.oaApi.mapper;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuncheng.vo.CurrentUserVo;

import com.yuncheng.oaApi.vo.OaXcxxspglVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface OaXcxxspglFlowMapper {

    Page<OaXcxxspglVo> flowJobPage(Page<OaXcxxspglVo> page,
                                   @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                   @Param("user") CurrentUserVo user,
                                   @Param("spcyFlowVo") OaXcxxspglVo oaXcxxspglVo);

    Page<OaXcxxspglVo> flowJkPage(Page<OaXcxxspglVo> page,
                                  @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                  @Param("user") CurrentUserVo user,
                                  @Param("spcyFlowVo") OaXcxxspglVo oaXcxxspglVo);

    List<OaXcxxspglVo> flowJkList(
            @Param("onlyCurrentUser") boolean onlyCurrentUser,
            @Param("user") CurrentUserVo user,
            @Param("spcyFlowVo") OaXcxxspglVo oaXcxxspglVo);


    Page<OaXcxxspglVo> selectmyyb(Page<OaXcxxspglVo> page,
                                  @Param("spcyFlowVo") OaXcxxspglVo oaXcxxspglVo, String fdbrid);


    Page<OaXcxxspglVo> myYbFlowPage(Page<OaXcxxspglVo> page,
                                    @Param("onlyCurrentUser") boolean onlyCurrentUser,
                                    @Param("user") CurrentUserVo user,
                                    @Param("spcyFlowVo") OaXcxxspglVo oaXcxxspglVo);

}
